const express = require('express')

const handler = require('./router-handler')

const router = express.Router()

router.get('/getbooks', handler.getbooks);

router.get('/delbook', handler.delbook);

router.post('/addbook', handler.addbook);

router.post('/querybook', handler.querybook);

router.post('/editbook', handler.editbook);

router.get('/alldelbook', handler.alldelbook);

module.exports = router;